home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 22
/
Aminet 22 (1997)(GTI - Schatztruhe)[!][Dec 1997].iso
/
Aminet
/
util
/
rexx
/
AutoJ_B_11.lha
/
AutoJoin2.rx_(spanish)
< prev
Wrap
Text File
|
1997-09-07
|
7KB
|
289 lines
/* MOVIESHOP Arexx macro
** $VER:AutoJoin2 1.1 ( 1 Sep 1997 )
** Fco. Vidal, Valencia, Spain
** (E-Mail: fjvidal@ctv.es)
** Freely distributable - Please send comments and any
** useful scripts you may have - thanks.
**
** Move it all scenes into "TimeLine"
** opening a box-request for operator choice and size.
**
** NOTE: Work ok with operators for 2 scenes transition.
** Requires rexxreqtools.library
**
** ( Tested with VLabMotion )
*/
ADDRESS MOVIESHOP
OPTIONS RESULTS
IF ~SHOW('l','rexxreqtools.library') THEN DO
CHECK = ADDLIB('rexxreqtools.library',0,-30,0)
END
TIMELINEENTRYDESTMODE NORMAL
GOTOTIMELINEFRAME LAST
GETTIMELINEFRAMEPOS
if RC ~= 0 then in = 0
else do
I = RESULT
I = I + 1
NUMBERTOTIME FRAMENUMBER I
in = RESULT
end
if in = 0 then I = 0
else nop
GOTOSCENE NUMBER 0
do g = 1 to 999
TS = g
GOTOSCENE NEXT
options failat 10
if (RC=10) then g = 999
end g
GOTOSCENE NUMBER 0
SCENETOTIMELINE TIME in
TS = TS - 1
FR = 0
nl = '0a'x
call addlib('rexxreqtools.library',0,-30)
CHECKTIMELINE
if RC ~= 0 then
call rtezrequest("EN EL TIMELINE HAY UN ERROR." nl,
"ESTE SCRIPT NO FUNCIONARA" nl,
"HASTA QUE LO CORRIJA" ,,
"LO SIENTO",,'rt_reqpos=reqpos_centerscr')
if rtresult == 0 then EXIT
/**/
EFFECTS0:
do h = 1 to TS
call rtezrequest(" 1 = Bars" nl,
"2 = Bouncer" nl,
"3 = CircleWipe" nl,
"4 = Collapse (Image)" nl,
"5 = Cone (Image)" ,,
"_1|_2|_3|_4|_5|Mas","ELEGIR",'rt_reqpos=reqpos_centerscr')
if rtresult == 0 then call effects1
else do
if rtresult == 1 then effectname = "Bars"
if rtresult == 2 then effectname = "Bouncer"
if rtresult == 3 then effectname = "CircleWipe"
if rtresult == 4 then effectname = "Collapse"
if rtresult == 5 then effectname = "Cone"
end
GETFRAMENUMBER ALL
PP = RESULT
RM = PP + I
GOTOSCENE NEXT
GETFRAMENUMBER ALL
RS = RESULT
J = PP - FR
if J > RS then S = RS
else S = J
N = 25
if S < N then N = S
FR = rtgetlong(N, "1 segundo son 25 frames." nl,
"¿Cuantos frames quieres que dure el efecto? (Max="S")",,
"Digame:", ,,
'rt_reqpos=reqpos_centerscr rtez_flags=ezreqf_centertext')
if FR > S then FR = S
I = RM - FR
NUMBERTOTIME FRAMENUMBER FR
Y = RESULT
NUMBERTOTIME FRAMENUMBER I
RT = RESULT
SCENETOTIMELINE TIME RT
EFFECTTOTIMELINE effectname TIME RT TRACK 2 LENGTH Y
TS = TS -1
call test
end h
exit
/**/
TEST:
CHECKTIMELINE
DO WHILE RC ~= 0
if effectname ~= "Fade" then MSG = """BACKGROUND = IMAGE"""
else MSG = """THROUGH"""
call rtezrequest("DEBE SELECCIONAR "MSG nl,
"EN LAS PREFERENCIAS DEL OPERADOR" nl,
"ANTES DE CONTINUAR." ,,
"HECHO",,'rt_reqpos=reqpos_centerscr rtez_flags=ezreqf_centertext')
CHECKTIMELINE
END
return
/**/
EFFECTS1:
call rtezrequest(" 1 = CrossWave (Image)" nl,
"2 = Cube2" nl,
"3 = Cylinder (Image)" nl,
"4 = Disc (Image)" nl,
"5 = Fade (Through)" ,,
"_1|_2|_3|_4|_5|Mas","ELEGIR",'rt_reqpos=reqpos_centerscr')
if rtresult == 0 then call effects2
else do
if rtresult == 1 then effectname = "CrossWave"
if rtresult == 2 then effectname = "PCube"
if rtresult == 3 then effectname = "Cylinder"
if rtresult == 4 then effectname = "Disc"
if rtresult == 5 then effectname = "Fade"
end
return
/**/
EFFECTS2:
call rtezrequest(" 1 = Flip" nl,
"2 = Flupp" nl,
"3 = Fly" nl,
"4 = Funnel (Image)" nl,
"5 = HalftSphere (Image)" ,,
"_1|_2|_3|_4|_5|Mas","ELEGIR",'rt_reqpos=reqpos_centerscr')
if rtresult == 0 then call effects3
else do
if rtresult == 1 then effectname = "Flip"
if rtresult == 2 then effectname = "Flupp"
if rtresult == 3 then effectname = "Fly"
if rtresult == 4 then effectname = "Funnel"
if rtresult == 5 then effectname = "HalftSphere"
end
return
/**/
EFFECTS3:
call rtezrequest(" 1 = Karo" nl,
"2 = Liquid1" nl,
"3 = Liquid2" nl,
"4 = Melt" nl,
"5 = PageTurn (Image)" ,,
"_1|_2|_3|_4|_5|Mas","ELEGIR",'rt_reqpos=reqpos_centerscr')
if rtresult == 0 then call effects4
else do
if rtresult == 1 then effectname = "Karo"
if rtresult == 2 then effectname = "Liquid1"
if rtresult == 3 then effectname = "Liquid2"
if rtresult == 4 then effectname = "Melt"
if rtresult == 5 then effectname = "PageTurn"
end
return
/**/
EFFECTS4:
call rtezrequest(" 1 = Polar" nl,
"2 = Radar" nl,
"3 = Raster" nl,
"4 = Roll (Image)" nl,
"5 = Rotate (Reverse Image)" ,,
"_1|_2|_3|_4|_5|Mas","ELEGIR",'rt_reqpos=reqpos_centerscr')
if rtresult == 0 then call effects5
else do
if rtresult == 1 then effectname = "Polar"
if rtresult == 2 then effectname = "Radar"
if rtresult == 3 then effectname = "Raster"
if rtresult == 4 then effectname = "Roll"
if rtresult == 5 then effectname = "Rotate"
end
return
/**/
EFFECTS5:
call rtezrequest(" 1 = Rotate 3D (2.Image)" nl,
"2 = Shift" nl,
"3 = Sphere (Image)" nl,
"4 = Sphere1" nl,
"5 = Sphere2" ,,
"_1|_2|_3|_4|_5|Mas","ELEGIR",'rt_reqpos=reqpos_centerscr')
if rtresult == 0 then call effects6
else do
if rtresult == 1 then effectname = "T3D2"
if rtresult == 2 then effectname = "Shift"
if rtresult == 3 then effectname = "Sphere"
if rtresult == 4 then effectname = "Sphere1"
if rtresult == 5 then effectname = "Sphere2"
end
return
/**/
EFFECTS6:
call rtezrequest(" 1 = Stretch" nl,
"2 = Swap1" nl,
"3 = Swap2" nl,
"4 = Swirl1" nl,
"5 = Swirl2" ,,
"_1|_2|_3|_4|_5|Mas","ELEGIR",'rt_reqpos=reqpos_centerscr')
if rtresult == 0 then call effects7
else do
if rtresult == 1 then effectname = "Stretch"
if rtresult == 2 then effectname = "Swap1"
if rtresult == 3 then effectname = "Swap2"
if rtresult == 4 then effectname = "Swirl1"
if rtresult == 5 then effectname = "Swirl2"
end
return
/**/
EFFECTS7:
call rtezrequest(" 1 = Telescope" nl,
"2 = TurnOver" nl,
"3 = Twirl (Image)" nl,
"4 = Wave (Image)" nl,
"5 = Wipe" ,,
"_1|_2|_3|_4|_5|Mas","ELEGIR",'rt_reqpos=reqpos_centerscr')
if rtresult == 0 then call effects0
else do
if rtresult == 1 then effectname = "Telescope"
if rtresult == 2 then effectname = "TurnOver"
if rtresult == 3 then effectname = "Twirl"
if rtresult == 4 then effectname = "Wave"
if rtresult == 5 then effectname = "Wipe"
end
return